package com.ruoyi.archive.mapper;

import java.util.List;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.archive.domain.SFamilyOfActiveSoldier;

/**
 * 现役军人家属信息Mapper接口
 *
 * @author Allen
 * @date 2021-09-30
 */
public interface SFamilyOfActiveSoldierMapper extends BaseMapper<SFamilyOfActiveSoldier> {
    /**
     * 查询现役军人家属信息
     *
     * @param id
     *         现役军人家属信息主键
     *
     * @return 现役军人家属信息
     */
    public SFamilyOfActiveSoldier selectSFamilyOfActiveSoldierById(Long id);

    /**
     * 查询现役军人家属信息列表
     *
     * @param sFamilyOfActiveSoldier
     *         现役军人家属信息
     *
     * @return 现役军人家属信息集合
     */
    public List<SFamilyOfActiveSoldier> selectSFamilyOfActiveSoldierList(SFamilyOfActiveSoldier sFamilyOfActiveSoldier);

    /**
     * 新增现役军人家属信息
     *
     * @param sFamilyOfActiveSoldier
     *         现役军人家属信息
     *
     * @return 结果
     */
    public int insertSFamilyOfActiveSoldier(SFamilyOfActiveSoldier sFamilyOfActiveSoldier);

    /**
     * 修改现役军人家属信息
     *
     * @param sFamilyOfActiveSoldier
     *         现役军人家属信息
     *
     * @return 结果
     */
    public int updateSFamilyOfActiveSoldier(SFamilyOfActiveSoldier sFamilyOfActiveSoldier);

    /**
     * 删除现役军人家属信息
     *
     * @param id
     *         现役军人家属信息主键
     *
     * @return 结果
     */
    public int deleteSFamilyOfActiveSoldierById(Long id);

    /**
     * 批量删除现役军人家属信息
     *
     * @param ids
     *         需要删除的数据主键集合
     *
     * @return 结果
     */
    public int deleteSFamilyOfActiveSoldierByIds(Long[] ids);
}
